package com.lysj.print.print.domain;

import com.lysj.admin.utils.spring.foundation.base.BaseEntity;
import com.lysj.admin.utils.validation.annotation.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Created by drj on 2019-03-15 16:44:47
 * @description 打印区域实体类
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@Table(name = "lysj_printer_print_area")
public class PrintArea extends BaseEntity {

    private String storeId; //门店id
    @NotBlank(message = "区域名称不能为空")
    private String name; //区域名称
    @NotBlank(message = "请选择打印机")
    private String printerId;//打印机id
}